﻿<UserControl x:Class="SharpMap.Wpf.LayerFeaturesTable"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     x:Name="_this">
    <DockPanel LastChildFill="True">
        <ToolBarTray DockPanel.Dock="Top">
            <ToolBarTray.Resources>
                <ResourceDictionary Source="/SharpMap.Wpf;component/Resources/Graphics.xaml"/>
            </ToolBarTray.Resources>
            <ToolBar Height="{x:Static SystemParameters.IconHeight }">
                <Button>
                    <Image Source="{StaticResource AddRowImage}" />
                </Button>
                <Button><Image Source="{StaticResource DeleteRowImage}"/></Button>
               
            </ToolBar>
        </ToolBarTray>
        <StatusBar DockPanel.Dock="Bottom">
            <StatusBarItem><TextBlock  Text="{Binding LayerName}" /></StatusBarItem>
            
             <StatusBarItem><TextBlock  Text="{Binding Count}" /></StatusBarItem>
        </StatusBar>
        
        
        <ListView x:Name="_listView" ItemsSource="{Binding ElementName=_this, Path=ItemsSource}"
                  >
   
            
        </ListView>
    </DockPanel>
</UserControl>
